<?php $this->headTitle('An error occured'); ?>
<?php $this->headMeta('Application error', 'description'); ?>

<h1>An error occured</h1>

<p>
    <?php if ($this->errorType == 'notFound'): ?>
        The page you were trying to reach does not exist.
    <?php elseif ($this->errorType == 'missingPermissions'): ?>
        You don't have enough privileges to access this page.
    <?php elseif ($this->errorType == 'applicationError'): ?>
        An internal application error stopped the execution.
    <?php endif; ?>
</p>